package org.jit.sose.service;

import org.jit.sose.entity.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 会员接口
 *
 * @author: wangyue
 * @date: 2020-03-24 00:28:11
 */
public interface MemberService {

    /**
     * 通过用户名获取用户信息
     *
     * @param name 用户名
     * @return 用户信息
     */
    @GetMapping("/getUserByName")
    User getUserByName(@RequestParam("name") String name);

    @GetMapping("hello")
    String hello();

}
